<?php

declare(strict_types=1);
/**
 * This file is part of Hyperf.
 *
 * @link     https://www.hyperf.io
 * @document https://hyperf.wiki
 * @contact  group@hyperf.io
 * @license  https://github.com/hyperf/hyperf/blob/master/LICENSE
 */

namespace HyperfTest\Cases;

use ApiClient\Order\Interfaces\OrderServiceInterface;
use ApiClient\User\Interfaces\UserServiceInterface;
use Hyperf\Context\ApplicationContext;
use Hyperf\Di\Annotation\Inject;
use Hyperf\Testing\TestCase;

/**
 * @internal
 * @coversNothing
 *
 *
 *
 */
class ExampleTest extends TestCase
{
//    public function testExample()
//    {
//        $this->get('/')->assertOk()->assertSee('Hyperf');
//    }

    public function testRpc()
    {
        var_dump(8888);
        $client = ApplicationContext::getContainer()->get(OrderServiceInterface::class);
        $data = $client->getList([]);
        var_dump($data);
    }
}
